package com.linxianqin.log.domain.convert;

import com.linxianqin.log.domain.dto.SysLogDto;
import com.linxianqin.log.domain.entity.SysLogEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysLogConvert {

    SysLogConvert INSTANCE = Mappers.getMapper(SysLogConvert.class);

    SysLogDto entity2dto(SysLogEntity entity);

    SysLogEntity dto2entity(SysLogDto dto);

}
